package com.gao.builder;

import com.gao.domain.House;
import com.gao.domain.WoodenHouse;

/**
 * @author GaoXi
 * @date 2021/5/19 20:15
 */
public class WoodenHouseBuilder implements HouseBuilder {

    private WoodenHouse woodenHouse;

    @Override
    public void buildAround() {
        //砍一些木头
        //用木头围成四周墙
    }
    @Override
    public void addRoof() {
        //用木头加个屋顶
    }
    @Override
    public void addDoor() {
        //用木头做个门并安装
    }
    @Override
    public void addWindows() {
        //用锯子将木头墙开一个正方形的洞，安上窗户
    }
    @Override
    public House getResult() {
        return woodenHouse;
    }
}
